<%@page import="consultorio.Medico"%>
<div>
	<div class="span-1"><img src="${resource(dir:'img/profiles',file:'fb_pic.jpg')}" width="32"/></div>
	<div class="span-4">
		<a href="${createLink(action:'index')}">${implicitObj?.nombre} ${implicitObj?.apellido}</a>		
		<g:if test="${implicitObj?.instanceOf(consultorio.Medico)}">
				<h6><strong>Matr&iacute;cula </strong>${implicitObj?.numlicencia}<h6>
		</g:if>		
		
		<g:else>
			<h6><strong>${params.controller.toLowerCase().capitalize()} DNI: </strong> ${implicitObj?.dni}</h6>
		</g:else>
		
	</div>
	<div class="span-2"><a href="${createLink(action:'logoutrequest')}"><strong>Logout</strong></a></div>
</div>